require('../../assets/css/index.less')
require('./advertisement.less')

// animate.style

const { ready, getEle, addEvent } = require('../../utils/dom')

ready(() => {
    setInterval(() => {
        getEle("#time").textContent -= 1
        if (getEle("#time").textContent == 0) location.href = 'register.html'
    }, 1000);

    addEvent("#pass", () => location.href = 'register.html')
})
